package com.guge.sports.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *      院系类
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StDept对象", description="")
public class StDept extends Model<StDept> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "did", type = IdType.AUTO)
    private Long did;

    @ApiModelProperty(value = "学校id")
    private Long schoolId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "院系名称")
    private String deptName;

    @ApiModelProperty(value = "详细")
    private String remarks;

    @ApiModelProperty(value = "认证状态 0.未认证 1.已认证")
    private Integer state;

    @ApiModelProperty(value = "认证时间")
    private Date stateTime;

    @ApiModelProperty(value = "乐观锁")
    private Integer version;

    @ApiModelProperty(value = "逻辑删除 0.正常 1.删除")
    @TableLogic(value="0",delval="1")
    private Integer isdelete;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
